<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script>
		//时间戳
		var firstTime = new Date().getTime();
		for(var i = 0;i < 100000000;i ++){

		}
		var lastTime = new Date().getTime();
		console.log(lastTime - firstTime);
	</script>
</body>
</html>